package com.small.sentinel;

import com.small.sentinel.slots.block.BlockException;

/**
 * 流量入口
 */
public class SphU {

    private static final Object[] OBJECTS0 = new Object[0];

    public static Entry entry(String name, int resourceType, EntryType trafficType) throws BlockException {
        return Env.sph.entryWithType(name, resourceType, trafficType,1, OBJECTS0);
    }
}
